﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace IloveRSS.Core
{
    public class ThemeSection: ConfigurationSection
    {
        private ThemeElement element;

        public ThemeSection()
        {
            element = new ThemeElement();
        }

        [ConfigurationProperty("elements", IsDefaultCollection = false)]
        [ConfigurationCollection(typeof(ThemeElementCollection),
            AddItemName = "add",
            ClearItemsName = "clear",
            RemoveItemName = "remove")]
        public ThemeElementCollection Elements
        {
            get
            {
                return (ThemeElementCollection)base["elements"];
            }
        }
    }
}